From: Corentin Noël Date: Thu, 9 Feb 2023 10:47:05 +0000 (+0100) Subject: libostree: Ignore new_and_connect in the introspection X-Git-Tag: archive/raspbian/2023.7-3+rpi1~1^2~9^2~2^2~15^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=4ba91ec11e635ea3a41512a3106c7324b967a604;p=ostree.git libostree: Ignore new_and_connect in the introspection This function can't be correctly introspected and it is easy enough to connect to the signal afterwards. --- diff --git a/src/libostree/ostree-async-progress.c b/src/libostree/ostree-async-progress.c index 8a780372..a6e91c1d 100644 --- a/src/libostree/ostree-async-progress.c +++ b/src/libostree/ostree-async-progress.c @@ -469,7 +469,13 @@ ostree_async_progress_new (void) return (OstreeAsyncProgress*)g_object_new (OSTREE_TYPE_ASYNC_PROGRESS, NULL); } - +/** + * ostree_async_progress_new_and_connect: (skip) + * @changed: a notification callback + * @user_data: data to pass to @changed + * + * Returns: (transfer full): A new progress object + */ OstreeAsyncProgress * ostree_async_progress_new_and_connect (void (*changed) (OstreeAsyncProgress *self, gpointer user_data), gpointer user_data)